package org.dei.perla.utils;

public class Pair<K,V> {
	private K first;
	private V second;
	public K getFirst() {
		return first;
	}
	public void setFirst(K first) {
		this.first = first;
	}
	public V getSecond() {
		return second;
	}
	public void setSecond(V second) {
		this.second = second;
	}
	public Pair(K first, V second) {
		super();
		this.first = first;
		this.second = second;
	}
	public Object[] toArray(){
		Object []retVal = {this.first, this.second };
		return retVal;
	}
}
